package com.xxgc.eow.mapper;

import com.xxgc.eow.entity.Likecomment;
import com.xxgc.eow.entity.Likesecondaycomment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 点赞二级评论表 Mapper 接口
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-28
 */
@Mapper
public interface LikesecondaycommentMapper extends BaseMapper<Likesecondaycomment> {

    int insertLikeComment(Likesecondaycomment likesecondaycomment);

    Integer getLikeNumByCommentId(int secondaycommentId);

    int updateCommentLike(@Param("secondaycommentId") int secondaycommentId, @Param("likeNum") int likeNum);

    int delLikeComment(Likesecondaycomment likesecondaycomment);

    Likesecondaycomment selectDataTf(Likesecondaycomment likesecondaycomment);

}
